package com.aloda.ojquestion.mapper;

import com.aloda.ojquestion.pojo.dto.QuestionSubmitPageDTO;
import com.aloda.ojquestion.pojo.dto.QuestionSubmitUnionDTO;
import com.aloda.ojcommon.domain.entity.QuestionSubmit;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

/**
* @author aloda
* @description 针对表【question_submit(题目提交表)】的数据库操作Mapper
* @createDate 2025-04-25 15:51:38
* @Entity generator.domain.QuestionSubmit
*/
public interface QuestionSubmitMapper extends BaseMapper<QuestionSubmit> {

    IPage<QuestionSubmitUnionDTO> getPage(@Param("page") Page<QuestionSubmitUnionDTO> page,
                                          @Param("dto") QuestionSubmitPageDTO questionSubmitPageDTO);
}




